package com.jiangsong.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * @author jiangsong
 * @date 2021/4/15
 * CREATE TABLE fee_rate (
 * id INT AUTO_INCREMENT PRIMARY KEY,
 * acc_no VARCHAR(50) NOT NULL,
 * proj_no CHAR(4) NOT NULL,
 * level INT NOT NULL DEFAULT 0,
 * proj_desc VARCHAR(50) NOT NULL,
 * amt DECIMAL(10,5),
 * rate DECIMAL(10,5),
 * charge_date CHAR(8) NOT NULL,
 * valid_flag CHAR(1) NOT NULL DEFAULT '1',
 * version INT DEFAULT 1,
 * created_stamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
 * updated_stamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
 * );
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class FeeRate extends AbstractEntity {

    private Integer id;

    private String accNo;

    private String projNo;

    private Integer level;

    private String projDesc;

    private BigDecimal amt;

    private BigDecimal rate;

    private String chargeDate;

}
